﻿using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;

namespace BasicTools
{
    public abstract class AutoCADBase
    {
        protected Document _doc;
        protected Database _db;
        protected Editor _ed;

        public AutoCADBase()
        {
            _doc = Application.DocumentManager.MdiActiveDocument;
            _db = _doc.Database;
            _ed = _doc.Editor;
        }
    }
}
